package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;
import java.util.Date;

/**
 * AGV任务中间表 agv_task
 * 
 * @author ruoyi
 * @date 2019-02-22
 */
public class AgvTask extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 主键id */
	private String taskid;
	/** 工单编号 */
	private String orderCode;
	/** 起点地标 */
	private String startNo;
	/** 工装编号 */
	private String gzNo;
	/** 计划号 */
	private String planNo;
	/** 终点地标 */
	private String endNo;
	/** 到达起点时间 */
	private Date rStarttime;
	/** 到达终点时间 */
	private Date rEndtime;
	/** 起点执行状态 */
	private String startState;
	/** 终点执行状态 */
	private String endState;
	/** 小车编号 */
	private String agvCode;
	/** 任务创建时间 */
	private Date createdate;
	/** 任务优先级（1工单急停 2车急停 3工单暂停 4车暂停 5自动充电 6工单恢复 7车恢复 8转运） */
	private String priority;
	/** 任务状态（0未完成 1已完成 2暂停 3失效） */
	private String finish;
	/** 任务结束时间 */
	private Date overtime;

	public void setTaskid(String taskid) 
	{
		this.taskid = taskid;
	}

	public String getTaskid() 
	{
		return taskid;
	}
	public void setOrderCode(String orderCode) 
	{
		this.orderCode = orderCode;
	}

	public String getOrderCode() 
	{
		return orderCode;
	}
	public void setStartNo(String startNo) 
	{
		this.startNo = startNo;
	}

	public String getStartNo() 
	{
		return startNo;
	}
	public void setGzNo(String gzNo) 
	{
		this.gzNo = gzNo;
	}

	public String getGzNo() 
	{
		return gzNo;
	}
	public void setPlanNo(String planNo) 
	{
		this.planNo = planNo;
	}

	public String getPlanNo() 
	{
		return planNo;
	}
	public void setEndNo(String endNo) 
	{
		this.endNo = endNo;
	}

	public String getEndNo() 
	{
		return endNo;
	}
	public void setRStarttime(Date rStarttime) 
	{
		this.rStarttime = rStarttime;
	}

	public Date getRStarttime() 
	{
		return rStarttime;
	}
	public void setREndtime(Date rEndtime) 
	{
		this.rEndtime = rEndtime;
	}

	public Date getREndtime() 
	{
		return rEndtime;
	}
	public void setStartState(String startState) 
	{
		this.startState = startState;
	}

	public String getStartState() 
	{
		return startState;
	}
	public void setEndState(String endState) 
	{
		this.endState = endState;
	}

	public String getEndState() 
	{
		return endState;
	}
	public void setAgvCode(String agvCode) 
	{
		this.agvCode = agvCode;
	}

	public String getAgvCode() 
	{
		return agvCode;
	}
	public void setCreatedate(Date createdate) 
	{
		this.createdate = createdate;
	}

	public Date getCreatedate() 
	{
		return createdate;
	}
	public void setPriority(String priority) 
	{
		this.priority = priority;
	}

	public String getPriority() 
	{
		return priority;
	}
	public void setFinish(String finish) 
	{
		this.finish = finish;
	}

	public String getFinish() 
	{
		return finish;
	}
	public void setOvertime(Date overtime) 
	{
		this.overtime = overtime;
	}

	public Date getOvertime() 
	{
		return overtime;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("taskid", getTaskid())
            .append("orderCode", getOrderCode())
            .append("startNo", getStartNo())
            .append("gzNo", getGzNo())
            .append("planNo", getPlanNo())
            .append("endNo", getEndNo())
            .append("rStarttime", getRStarttime())
            .append("rEndtime", getREndtime())
            .append("startState", getStartState())
            .append("endState", getEndState())
            .append("agvCode", getAgvCode())
            .append("createdate", getCreatedate())
            .append("priority", getPriority())
            .append("finish", getFinish())
            .append("overtime", getOvertime())
            .toString();
    }
}
